package com.example.demo11.mapper;

import com.example.demo11.entity.Card;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CardMapper {
    @Select("select * from Card where cardNO=#{cardNo}")  // 修改为 #{cardNo}
    public Card getCardByCardNo(String cardNo);
}
